<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>

<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>添加转接表</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!-- 图文混排 -->
		<!-- 设置下拉列表框样式 -->
		<style type="text/css">
.select * {
	margin: 0;
	padding: 0;
}
td{
height:30px;
}
.select {
	border: 1px solid #cccccc;
	float: left;
	display: inline;
}

.select div {
	border: 1px solid #f9f9f9;
	float: left;
}

/* 子选择器，在FF等非IE浏览器中识别 */
.select>div {
	width: 120px;
	height: 17px;
	overflow: hidden;
}

/* 通配选择符，只在IE浏览器中识别 */
* html .select div select {
	display: block;
	float: left;
	margin: -2px;
}

.select div>select {
	display: block;
	width: 124px;
	float: none;
	margin: -2px;
	padding: 0px;
}

.select:hover {
	border: 1px solid #666666;
}

.select select>option {
	text-indent: 2px;
}
html,body {height:100%; margin:0px; font-size:12px;}
.mydiv {
background-color: #FFCC66;
border: 1px solid #f00;
text-align: left;
line-height: 40px;
font-size: 12px;
font-weight: bold;
z-index:999;
width: 500px;
height: 300px;
left:50%;
top:50%;
margin-left:-150px!important;/*FF IE7 该值为本身宽的一半 */
margin-top:-60px!important;/*FF IE7 该值为本身高的一半*/
margin-top:0px;
position:fixed!important;/* FF IE7*/
position:absolute;/*IE6*/
_top:       expression(eval(document.compatMode &&
            document.compatMode=='CSS1Compat') ?
            documentElement.scrollTop + (document.documentElement.clientHeight-this.offsetHeight)/2 :/*IE6*/
            document.body.scrollTop + (document.body.clientHeight - this.clientHeight)/2);/*IE5 IE5.5*/
 
}
 
.bg,.popIframe {
background-color: #666; display:none;
width: 100%;
height: 100%;
left:0;
top:0;/*FF IE7*/
filter:alpha(opacity=50);/*IE*/
opacity:0.5;/*FF*/
z-index:1;
position:fixed!important;/*FF IE7*/
position:absolute;/*IE6*/
_top:       expression(eval(document.compatMode &&
            document.compatMode=='CSS1Compat') ?
            documentElement.scrollTop + (document.documentElement.clientHeight-this.offsetHeight)/2 :/*IE6*/
            document.body.scrollTop + (document.body.clientHeight - this.clientHeight)/2);
}
.popIframe {
filter:alpha(opacity=0);/*IE*/
opacity:0;/*FF*/
}
-->

</style>
		<link rel="stylesheet" type="text/css" href="../css/style.css">
		<link href="../css/addChance.css" rel="stylesheet" type="text/css">
		<!-- 设置按钮样式 -->
		<link href="../css/Admin.css" rel="stylesheet" type="text/css">
		<!-- 设置文本框样式 -->

		<script type="text/javascript">
	
</script>
<link href="../images/blue/css.css" rel="stylesheet" type="text/css" id="showdialogcss" />
<script type="text/javascript">



function check(){
var prono=document.getElementById('project.prono');
var unitName=document.getElementById('enParty.unitName');
var unitName=document.getElementById('enParty.reportTitle');
}


</script>
<s:head theme="ajax" />  
	</head>

	<body>
		<s:form method="post" 
			action="doAddTaskAction.action" theme="simple">
			<div align="center">
				<h1>
				广州京诚检测技术有限公司<br/>
检验任务下达单
				</h1>
			</div>
<s:hidden name="project.pid"></s:hidden>

			<table align="center" width="780px" border="1" cellpadding="0"
				cellspacing="0" bgcolor="#C0CCDD" id="content">
				<tr>
				<td colspan="2"><span class="red" id="dictType">*</span>样品编号：
				<s:property  value="project.prono" id="project.prono"  /></td>
				</tr>

				<tr>
					
					<td colspan="2">
						<span class="red" id="dictType">*</span>样品名称：
						<s:property  value="project.sample.sampleName"  />
					</td>
					
				</tr>
			
				<tr>
					<td >
						&nbsp;存放条件：<s:property  value="project.sample.storeType"/>
					</td>
					<td>样品处置：<s:property  value="project.sampleHandling"/></td>
				</tr>
				<tr>
					
					<td colspan="2">
						<span class="red" id="dictType">*</span>检验项目：
						 <s:textfield  name="task.testItem"
							cssStyle="width:80%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />
					</td>
					</tr>
					<tr>
					<td  colspan="2">
						<span class="red" id="dictType">*</span>检验依据：
						<s:property  value="project.testBase"  />
					</td>
					</tr>
					<tr>
					<td >
						任务下达日期
						&nbsp;<s:datetimepicker  name="task.assignedDate"
							cssStyle="width:80%"  displayFormat="yyyy-MM-dd"/>
					</td>
					<td >
						任务完成日期
						&nbsp;<s:datetimepicker  name="task.completeDate"
							cssStyle="width:80%" displayFormat="yyyy-MM-dd" />
					</td>
				</tr>
				<tr>
					<td >
						任务下达人
						&nbsp;<s:textfield  name="task.assignedPerson"
							cssStyle="width:80%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />
					</td>
					<td >
						检验员
						&nbsp;<s:select name="task.department.pid" list="departments" listKey="pid" listValue="department" />
					</td>
				</tr>
				<tr>
					<td > 样品<s:select name="task.sampleIsLead" list="#{'已领':'已领','未领':'未领'}"></s:select>&nbsp;&nbsp;&nbsp;领样人
						&nbsp;<s:textfield  name="task.sampleLeadPerson"
							cssStyle="width:50%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />
					</td><td >日期
						&nbsp;<s:datetimepicker   name="task.sampleLeadDate"displayFormat="yyyy-MM-dd" />
					</td>
				</tr>
				
				<tr>
				<td>检验<s:select name="task.sampleIsTest" list="#{'完成':'完成','未完成':'未完成'}"></s:select>&nbsp;&nbsp;&nbsp;
						<span class="red" id="dictType">*</span>检验员：
						<s:textfield  name="task.testPerson"
							cssStyle="width:50%" cssClass="FormBase"
							onfocus="this.className='FormFocus';"
							onblur="this.className='FormBase';" />
							
					</td>
					<td >
						日期：
						<s:datetimepicker   name="task.sampleTestDate" displayFormat="yyyy-MM-dd" />
							
					</td>
				</tr>
			</table>
			<div align="center">
					<s:submit cssStyle="width:100px" value="提交"></s:submit > <s:reset cssStyle="width:100px" value="重置"></s:reset>
			</div>
			
		</s:form>
	</body>
</html>
